package com.lzq.badminton.entity;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("booking")
public class Booking {

    @TableId
    private Long id;

    private Long arenaId;

    private Integer courtNum;

    private String timeSlot;

    private LocalDate date;

    private Double price;

    //状态 0可选，1被预定，-1被禁用, 2不可选
    private Integer status;

    private Long orderId;

}
